<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class dcomment extends rows{
 	function init(){
 		$this->tableName="sn_dcomment";
 		$this->col["dcid"]   = new column("dcid",dataCheck::INTEGER);
 		$this->col["dccontent"] = new column("dccontent",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["dctime"]  = new column("dctime",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["dcsendip"]  = new column("dcsendip",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["dcartid"]  = new column("dcartid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["dcuid"]  = new column("dcuid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["dcstate"]  = new column("dcstate",dataCheck::INTEGER);
 	} 	 	
 }
